package com.mk.web.factory;

import com.mk.web.model.People;

/**
 * Created by WangChen on 2018/11/28 15:43.
 */
public class StaticPeopleFactory {

    public StaticPeopleFactory() {
        System.out.println("==============StaticPeopleFactory==============");
    }

    static People newInstance(){
        return new  People(3, "静态工厂方法创建的");
    }
}
